/* header */
header {
  width: 100%;
  background-color: #fff;
  display: flex;
  border: 1px solid #ccc;
  padding: 1em 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}
header .icon {
  width: 20%;
  text-align: center;
}
header .icon img {
  width: 35%;
}
header .search {
  width: 80%;
}
header .search .box {
  position: relative;
  width: 80%;
  height: 100%;
  border-radius: 2em;
  margin-left: 0.8em;
  border: 1px solid #666;
  overflow: hidden;
}
header .search .box p {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  color: #ccc;
  text-align: center;
  line-height: 1.8em;
}
header .search .box input {
  position: absolute;
  left: 0;
  top: 0;
  border: none;
  background: none;
  outline: none;
  width: 100%;
  height: 100%;
  padding-left: 1em;
}
header .search .box input:focus {
  background-color: #fff;
}
/* body背景 */
body {
  background: url(../images/bg.png);
}
/* footer导航 */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 99;
  width: 100%;
  background: url(../images/footer.png) no-repeat;
  background-size: 100%;
  border-top: 1px solid #231e45;
}
.footer ul {
  display: flex;
  padding: 0;
  padding-top: 0.5em;
  margin: 0;
}
.footer ul li {
  width: 25%;
  list-style: none;
  text-align: center;
}
.footer ul li a {
  text-decoration: none;
}
.footer ul li img {
  width: 27%;
}
.footer ul li img:nth-of-type(2) {
  display: none;
}
.footer ul li p {
  margin-top: 0.1em;
  margin-bottom: 0;
  font-size: 1em;
  color: #231e45;
}
.footer ul li:hover img:nth-of-type(1) {
  display: none;
}
.footer ul li:hover img:nth-of-type(2) {
  display: inline-block;
}
.footer ul li:hover p {
  color: #fade5d;
}
.footer ul li:nth-of-type(2) img {
  width: 25%;
}
.footer ul li:nth-of-type(4) img {
  width: 25%;
}
